Skip to content

完结支付分订单

完结微信支付分订单。用户使用服务完成后,商户可通过此接口完结订单。**前置条件:**服务订单状态为“进行中”且订单状态说明需为 [USER_CONFIRM:用户确认] 官方文档

js
wxpay
.
v3
.
payscore
.
serviceorder
.
_out_order_no_
.
complete
.
post
({
out_order_no
,
appid
,
service_id
,
post_payments
,
post_discounts
,
time_range
,
location
,
total_amount
,
profit_sharing
,
goods_tag
,
}, {
out_order_no
})
.
then
(
({
data
: {
out_order_no
,
appid
,
service_id
,
post_payments
,
post_discounts
,
time_range
,
location
,
service_introduction
,
risk_fund
,
attach
,
notify_url
,
mchid
,
state
,
state_description
,
order_id
,
total_amount
,
need_collection
,
collection
,
}, }) => ({
out_order_no
,
appid
,
service_id
,
post_payments
,
post_discounts
,
time_range
,
location
,
service_introduction
,
risk_fund
,
attach
,
notify_url
,
mchid
,
state
,
state_description
,
order_id
,
total_amount
,
need_collection
,
collection
,
}) )

Released under the MIT License. (SITEMAP)